function tb_trser_market_changedetails() {
	document.getElementById("tb_trser_market_invoice_details").style.display = 'block';
	document.getElementById("tb_trser_market_invoice_details").style.visibility = 'visible';
}

function tb_trser_market_new_user_function() {
	if(document.getElementById("tb_trser_market_new_user").checked == true)
	{
		document.getElementById("tb_trser_market_email").style.display = 'block';
		document.getElementById("tb_trser_market_email").style.visibility = 'visible';
		document.getElementById("tb_trser_market_password").style.display = 'none';
		document.getElementById("tb_trser_market_password").style.visibility = 'hidden';
		document.getElementById("tb_trser_user_captcha").style.display = 'block';
		document.getElementById("tb_trser_user_captcha").style.visibility = 'visible';
		document.getElementById("recaptcha_response_field").value = "";
	}
	else
	{
		document.getElementById("tb_trser_market_password").style.display = 'block';
		document.getElementById("tb_trser_market_password").style.visibility = 'visible';
		document.getElementById("tb_trser_market_email").style.display = 'none';
		document.getElementById("tb_trser_market_email").style.visibility = 'hidden';
		document.getElementById("tb_trser_user_captcha").style.display = 'none';
		document.getElementById("tb_trser_user_captcha").style.visibility = 'hidden';
		document.getElementById("recaptcha_response_field").value = "not needed";
	}
}